<!--

    Copyright 2021 StreamSets Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>StreamSets Data Collector</title>
  <style>
    body {
      font-family: Arial, Helvetica, sans-serif;
      margin: 0 50px 40px;
    }
  </style>
  <link rel="icon" type="image/png" href="assets/favicon.png">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
  <img src="assets/logo.png" />
  <div>
    <p>This Data Collector engine is connected to the Control Hub component of the StreamSets DataOps Platform:
      <a id="controlHubUrl" href="https://cloud.streamsets.com">https://cloud.streamsets.com</a></p>
    <br>
    <p>When working with the StreamSets DataOps Platform, Data Collector functions as a headless engine without a UI.</p>
    <br>
    <p>Use the Control Hub UI to design pipelines and to complete administrative tasks on this Data Collector engine.</p>
    </div>
  </div>
  <script>
    var queryParams = new URLSearchParams(window.location.search);
    var url = queryParams.get('url');
    var controlHubUrlElem = document.getElementById("controlHubUrl")
    if (url) {
      controlHubUrlElem.innerHTML = url;
      controlHubUrlElem.href = url;
    }
  </script>
</body>
</html>
